package com.xmh.myutil.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xmh.myutil.entity.SpendingPlanEntity;

@Mapper
public interface SpendingPlanDAO {

    SpendingPlanEntity get(SpendingPlanEntity spendingPlan);

    void add(SpendingPlanEntity spendingPlan);

    void delete(SpendingPlanEntity spendingPlan);

    void update(SpendingPlanEntity spendingPlan);

    List<SpendingPlanEntity> selectList(Map<String, Object> jsonMap);

    SpendingPlanEntity getById(Integer id);

}
